import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入element-ui依赖
import Element from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"
Vue.use(Element)

// // 全局引入axios
// import axios from 'axios'
// Vue.prototype.$axios = axios
import request from "./axios";
Vue.prototype.$axios = request

import VuePapaParse from 'vue-papa-parse'
Vue.use(VuePapaParse)

//引入mock数据，关闭则注释该行
// require("./mock")

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
